﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace Nop.Web.Models.Customer
{
    public class PersonListModel
    {
        public PersonListModel()
        {
            this.Departments = new List<ItemModel>();
            this.GWXZs = new List<ItemModel>();
            this.Genders = new List<ItemModel>();
            this.Nations = new List<ItemModel>();
            this.PoliticsStatuss = new List<ItemModel>();
            this.Statuss = new List<ItemModel>();
            this.Natures = new List<ItemModel>();
            this.Educations = new List<ItemModel>();
            this.ZCLevels = new List<ItemModel>();
            this.JNLevels = new List<ItemModel>();
        }
        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 部门
        /// </summary>
        public int DepartmentId { get; set; }
        /// <summary>
        /// 岗位性质
        /// </summary>
        public int GWXZ { get; set; }
        /// <summary>
        /// 员工性质
        /// </summary>
        public int Nature { get; set; }
        /// <summary>
        /// 部门
        /// </summary>
        public IList<ItemModel> Departments { get; set; }
        /// <summary>
        /// 岗位性质
        /// </summary>
        public IList<ItemModel> GWXZs { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public IList<ItemModel> Genders { get; set; }
        /// <summary>
        /// 民族
        /// </summary>
        public IList<ItemModel> Nations { get; set; }
        /// <summary>
        /// 政治面貌
        /// </summary>
        public IList<ItemModel> PoliticsStatuss { get; set; }
        /// <summary>
        /// 员工状态
        /// </summary>
        public IList<ItemModel> Statuss { get; set; }
        /// <summary>
        /// 员工性质
        /// </summary>
        public IList<ItemModel> Natures { get; set; }
        /// <summary>
        /// 最高学历
        /// </summary>
        public IList<ItemModel> Educations { get; set; }
        /// <summary>
        /// 最高职称等级
        /// </summary>
        public IList<ItemModel> ZCLevels { get; set; }
        /// <summary>
        /// 最高技能等级工种名称
        /// </summary>
        public IList<ItemModel> JNLevels { get; set; }
    }
    public class PersonModel
    {
        public int key { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 部门
        /// </summary>
        public int DepartmentId { get; set; }
        public string DepartmentName { get; set; }
        /// <summary>
        /// 部门内设机构
        /// </summary>
        public string BMNSJG { get; set; }
        /// <summary>
        /// 岗位名称
        /// </summary>
        public string GWMC { get; set; }
        /// <summary>
        /// 岗位性质
        /// </summary>
        public int GWXZ { get; set; }
        public string GWXZName { get; set; }
        public string TelPhone { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public int GenderId { get; set; }
        public string Gender { get; set; }
        /// <summary>
        /// 身份证号
        /// </summary>
        public string SFZH { get; set; }
        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime? BirthOn { get; set; }
        /// <summary>
        /// 参加工作时间
        /// </summary>
        public DateTime? WorkOn { get; set; }
        /// <summary>
        /// 民族
        /// </summary>
        public int NationId { get; set; }
        public string Nation { get; set; }
        /// <summary>
        /// 籍贯
        /// </summary>
        public string Birthplace { get; set; }
        /// <summary>
        /// 政治面貌
        /// </summary>
        public int PoliticsStatus { get; set; }
        public string PoliticsStatusName { get; set; }
        /// <summary>
        /// 何时入党团
        /// </summary>
        public DateTime? JoinOn { get; set; }
        /// <summary>
        /// 员工状态
        /// </summary>
        public int Status { get; set; }
        public string StatusName { get; set; }
        /// <summary>
        /// 员工性质
        /// </summary>
        public int Nature { get; set; }
        public string NatureName { get; set; }
        /// <summary>
        /// 最高学历
        /// </summary>
        public int Education { get; set; }
        public string EducationName { get; set; }
        /// <summary>
        /// 毕业学校专业（最高学历）
        /// </summary>
        public string School { get; set; }
        /// <summary>
        /// 最高学位
        /// </summary>
        public string Degree { get; set; }
        /// <summary>
        /// 最高职称名称
        /// </summary>
        public string ZC { get; set; }
        /// <summary>
        /// 最高职称等级
        /// </summary>
        public int ZCLevel { get; set; }
        public string ZCLevelName { get; set; }
        /// <summary>
        /// 最高技能等级
        /// </summary>
        public string JN { get; set; }
        /// <summary>
        /// 最高技能等级工种名称
        /// </summary>
        public int JNLevel { get; set; }
        public string JNLevelName { get; set; }
    }
    public class PersonExportModel
    {
        public int key { get; set; }
        /// <summary>
        /// 姓名
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 部门
        /// </summary>
        public string DepartmentName { get; set; }
        /// <summary>
        /// 部门内设机构
        /// </summary>
        public string BMNSJG { get; set; }
        /// <summary>
        /// 岗位名称
        /// </summary>
        public string GWMC { get; set; }
        /// <summary>
        /// 岗位性质
        /// </summary>
        public string GWXZName { get; set; }
        public string TelPhone { get; set; }
        /// <summary>
        /// 性别
        /// </summary>
        public string Gender { get; set; }
        /// <summary>
        /// 身份证号
        /// </summary>
        public string SFZH { get; set; }
        /// <summary>
        /// 出生日期
        /// </summary>
        public DateTime? BirthOn { get; set; }
        /// <summary>
        /// 参加工作时间
        /// </summary>
        public DateTime? WorkOn { get; set; }
        /// <summary>
        /// 民族
        /// </summary>
        public string Nation { get; set; }
        /// <summary>
        /// 籍贯
        /// </summary>
        public string Birthplace { get; set; }
        /// <summary>
        /// 政治面貌
        /// </summary>
        public string PoliticsStatusName { get; set; }
        /// <summary>
        /// 何时入党团
        /// </summary>
        public DateTime? JoinOn { get; set; }
        /// <summary>
        /// 员工状态
        /// </summary>
        public string StatusName { get; set; }
        /// <summary>
        /// 员工性质
        /// </summary>
        public string NatureName { get; set; }
        /// <summary>
        /// 最高学历
        /// </summary>
        public string EducationName { get; set; }
        /// <summary>
        /// 毕业学校专业（最高学历）
        /// </summary>
        public string School { get; set; }
        /// <summary>
        /// 最高学位
        /// </summary>
        public string Degree { get; set; }
        /// <summary>
        /// 最高职称名称
        /// </summary>
        public string ZC { get; set; }
        /// <summary>
        /// 最高职称等级
        /// </summary>
        public string ZCLevelName { get; set; }
        /// <summary>
        /// 最高技能等级
        /// </summary>
        public string JN { get; set; }
        /// <summary>
        /// 最高技能等级工种名称
        /// </summary>
        public string JNLevelName { get; set; }
    }
}